:root {
    --page-side-pad: clamp(20px, 3.2vw, 60px);
}

/* 引入自定义字体 */
@font-face {
    font-family: 'MontserratBold';
    src: url('../fonts/Montserrat-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'MontserratLight';
    src: url('../fonts/Montserrat-Light.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat-Regular';
    src: url('../fonts/Montserrat-Regular.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat Semi Bold';
    src: url('../fonts/Montserrat Semi Bold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: Arial, sans-serif;
    background-color: #000;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    display: block;
}

.layout-wrapper {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    min-height: 100vh;
}

/* ================= 主体内容区域 ================= */
.main-content {
    padding-top: 54px;
    padding-bottom: 40px;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ================= 设计师网格布局 ================= */
.designers-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 16px;
    row-gap: 85px;
    margin-top: 40px;
    width: 100%;
    padding-left: 60px;
    padding-right: 60px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.designer-item {
    display: flex;
    flex-direction: column;
    background-color: #000;
    border: 1px solid #333;
    width: 100%;
}

.designer-item img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ================= 分割线样式 ================= */
.divider {
    height:1px;
    background-color: #a3a2a2;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding-left: 35px;
    padding-right: 35px;
    background-clip: content-box;
    margin-top: 122px;
}

/* ================= 响应式适配 ================= */
@media (max-width: 1500px) and (min-width: 768px) {
    /* 中等屏幕无需额外调整 */
}

@media (max-width: 767px) {
    .layout-wrapper {
        width: 100%;
    }

    /* 主体内容调整 */
    .main-content {
        padding-top: 35px;
        padding-bottom: 20px;
    }

    /* 设计师网格优化 - 2列布局 */
    .designers-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 10px;
        max-width: 100%;
        row-gap: 12px;
        column-gap: 8px;
    }

    .designer-item {
        width: 100%;
        height: auto;
        aspect-ratio: auto;
    }

    .designer-item img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    /* 分割线调整 */
    .divider {
        margin-top: 15px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 479px) {
    .main-content {
        padding-top: 35px;
    }

    .designers-container {
        padding: 8px;
        gap: 6px;
        grid-template-columns: repeat(2, 1fr);
    }

    .designer-item {
        width: 100%;
        height: auto;
        aspect-ratio: auto;
    }

    .designer-item img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}